package com.zlc.common.core.sys.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zlc.common.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author  zl
* @date 2023-05-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "mayan_sys_log")
public class MayanSysLog extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 0L;
	/**
	 * 操作模块
	 */@TableField(value="module")
	private String module;

	/**
	 * 调用接口参数
	 */@TableField(value="params")
	private String params;

	/**
	 * 是否成功
	 */@TableField(value="flag_")
	private Boolean flag;

	/**
	 * 报错信息
	 */@TableField(value="error_message_")
	private String errorMessage;

	/**
	 * 日志标题
	 */
	@TableField(value="title")
	private String title;

	/**
	 * 分类
	 */
	@TableField(value="catalog")
	private String catalog;

	/**
	 * 日志类型 1 登录日志 2 操作日志
	 */
	@TableField(value="log_type")
	private Integer logType;

	/**
	 * ip
	 */
	@TableField(value="ip")
	private String ip;
}
